package com.qumitech.visualnovel.datasource.console;


import com.qumitech.visualnovel.pubdef.dto.expandProfit.ExpandProfitDTO;
import com.qumitech.visualnovel.pubdef.dto.expandProfit.ExpandProfitDetailDTO;
import com.qumitech.visualnovel.pubdef.dto.game.GameStatisticsDTO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface UserExpandMapper {

    List<ExpandProfitDTO> listUserExpandProfit(@Param("accountId") Long accountId,
                                               @Param("minProfit") Long minProfit,
                                               @Param("maxProfit") Long maxProfit,
                                               @Param("startTime") String startTime,
                                               @Param("endTime") String endTime,
                                               @Param("orderBy") String orderBy,
                                               @Param("orderType") String orderType,
                                               @Param("offset") Integer offset,
                                               @Param("limit") Integer limit);

    Integer countUserExpandProfit(@Param("accountId") Long accountId,
                                  @Param("minProfit") Long minProfit,
                                  @Param("maxProfit") Long maxProfit,
                                  @Param("startTime") String startTime,
                                  @Param("endTime") String endTime);

    List<ExpandProfitDetailDTO> listUserExpandProfitDetail(@Param("masterUid") Long masterUid,
                                                           @Param("fellowUid") Long fellowUid,
                                                           @Param("startTime") String startTime,
                                                           @Param("endTime") String endTime,
                                                           @Param("offset") Integer offset,
                                                           @Param("limit") Integer limit);

    Integer countUserExpandProfitDetail(@Param("masterUid") Long masterUid,
                                        @Param("fellowUid") Long fellowUid,
                                        @Param("startTime") String startTime,
                                        @Param("endTime") String endTime);


}